import request from '@/utils/request'
// 获取登录信息
export const loginAPI = (data) => {
  return request.post('/auth/login', data)
}
// 获取用户信息
export const getUserAPI = () => {
  return request.get('/auth/currentUser')
}
// 获取最近一周，每天访问数据
export const getLineData = (data) => {
  return request.get('/analysis/DailyVisitTrend', data)
}
